JSClassFinder: A Tool to Detect Class-like Structures in JavaScript
نویسندگان
چکیده
With the increasing usage of JavaScript in web applications, there is a great demand to write JavaScript code that is reliable and maintainable. To achieve these goals, classes can be emulated in the current JavaScript standard version. In this paper, we propose a reengineering tool to identify such class-like structures and to create an object-oriented model based on JavaScript source code. The tool has a parser that loads the AST (Abstract Syntax Tree) of a JavaScript application to model its structure. It is also integrated with the Moose platform to provide powerful visualization, e.g., UML diagram and Distribution Maps, and well-known metric values for software analysis. We also provide some examples with real JavaScript applications to evaluate the tool. Video: http://youtu.be/FadYE_FDVM0
منابع مشابه
Damage Detection of Bridge by Rayleigh-Ritz Method
As a result of environmental and accidental actions, damage occurs in structures. The early detection of any defect can be achieved by regular inspection and condition assessment. In this way, the safety and reliability of structures can be increased. This paper is devoted to propose a new and effective method for detecting, locating, and quantifying beam-like structures. This method is based o...
متن کاملJ Is for JavaScript: A Direct-Style Correspondence between Algol-Like Languages and JavaScript Using First-Class Continuations
It is a time-honored fashion to implement a domain-specific language (DSL) by translation to a general-purpose language. Such an implementation is more portable, but an unidiomatic translation jeopardizes performance because, in practice, language implementations favor the common cases. This tension arises especially when the domain calls for complex control structures. We illustrate this tensi...
متن کاملInterferential Current Ability to Change the Pattern of Brain Activity in Patients With Nonspecific Low Back Pain
Objectives: Chronic low back pain (CLBP), along with physical limitations that affect the quality of life, is one of the most important problems in the health community. The pain causes a wide range of structural, functional, and neurological changes in the brain. However, these changes have not been well studied, as brain changes in other chronic pains. This study aimed to evaluate the changes...
متن کاملIdentifying Classes in Legacy JavaScript Code
1Department of Computer Science, Federal University ofMinas Gerais, Belo Horizonte, Brazil 2Department of Computer Science, DCC Pleiad Lab, University of Chile, Santiago, Chile 3RMod Project Team, INRIA Lille Nord Europe, France Correspondence Leonardo Humberto Silva, Department of Informatics, Federal Institute of Northern Minas Gerais, Salinas, Brazil. Email: [email protected] Fundi...
متن کاملAn effective approach for damage identification in beam-like structures based on modal flexibility curvature and particle swarm optimization
In this paper, a computationally simple approach for damage localization and quantification in beam-like structures is proposed. This method is based on using modal flexibility curvature (MFC) and particle swarm optimization (PSO) algorithm. Analytical studies in the literature have shown that changes in the modal flexibility curvature can be considered as a sensitive and suitable criterion for...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1602.05891 شماره
صفحات -
تاریخ انتشار 2016